package com.hslxy.content.service;

import com.hslxy.base.model.PageParams;
import com.hslxy.base.model.PageResult;
import com.hslxy.content.model.dto.AddCourseDto;
import com.hslxy.content.model.dto.CourseBaseInfoDto;
import com.hslxy.content.model.dto.EditCourseDto;
import com.hslxy.content.model.dto.QueryCourseParamsDto;
import com.hslxy.content.model.po.CourseBase;
import org.springframework.web.bind.annotation.RequestBody;

public interface CourseBaseInfoService {
    PageResult<CourseBase> queryCourseBaseList(Long companyId, PageParams pageParams, QueryCourseParamsDto queryCourseParamsDto);

    CourseBaseInfoDto createCourseBase(Long companyId, AddCourseDto addCourseDto);

    CourseBaseInfoDto getCourseBaseInfo(Long courseId);

    CourseBaseInfoDto updateCourseBase(Long companyId, EditCourseDto dto);
}
